<div class="Popup">
    <div class="Popup-window">
        <div class="panel-default">
            <div class="panel-heading font-bold">发货</div>
            <div class="panel-body">
                <form name="deliveryform" method="post" class="ng-pristine ng-valid" >
                    <div class="group-model m-b-xs">
                        <label class="m-b-sm h6 block">物流公司</label>
                        <!--<select class="input-sm form-control" ng-model="order.logisticsId" required>-->
                            <!--<option value="">请选择分类</option>-->
                            <!--<option value="{{m.id}}" ng-repeat="m in logisticsName">{{m.name}}</option>-->
                        <!--</select>-->
                        <div class="w-full">
                            <div class="fa-border no-padder">
                                <span class="block m-b-xs h6 panel-heading">请选择物流</span>
                                <div class="m-xs">
                                    <ui-select class="w-full" ng-model="selectLogistics" theme="bootstrap" ng-change="order.logisticsId=$select.selected.id">
                                        <ui-select-match placeholder="请选择物流公司" class="h6">{{$select.selected.name}}</ui-select-match>
                                        <ui-select-choices repeat="m in logisticsName | filter: $select.search">
                                            <div ng-bind-html="person.name | highlight: $select.search"></div>
                                            <small>
                                                {{m.name}}
                                            </small>
                                        </ui-select-choices>
                                    </ui-select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="group-model">
                        <label class="m-b-sm h6 block">物流单号</label>
                        <input type="text" ng-model="order.logisticsNumber" class="form-control" placeholder="输入物流单号" required>
                    </div>
                    <div class="m-t-sm pull-right">
                        <button class="btn m-b-xs btn-info btn-sm" ng-click="createLogistics()" ng-disabled="deliveryform.$invalid">保存</button>
                        <div class="btn m-b-xs btn-default btn-sm" ng-click="cancel()">取消</div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
